package com.bj58.groupbuy.action.service;

import java.util.List;

import com.bj58.groupbuy.action.model.UserRole;

public interface UserRoleService {

	/**通过roleid查询权限信息
	 * @param roleid
	 * @return
	 * @throws Exception
	 */
	public List<UserRole> getByRoleid (long roleid) throws Exception;
	
	public List<UserRole> getByUserid (long userid) throws Exception;
	
	public boolean delByRoleid (long roleid) throws Exception;
	
	public boolean delByUserid (long userid) throws Exception;
	
}
